<?
require("config.php");
?>

<html>
<head>
<title><?=$title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<link rel="stylesheet" href="images/css.css" type="text/css">
</head>

<?

$table = "course_activities";

$field = array(

"id", 
"name",  
"details",  
"picture1", 
"picture2", 
"picture3", 
"picture4", 

);

$exp = " AND id=$id";

$r = limitQuery($table,$field,$exp);

?>


<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p>&nbsp;</p><table width="80%" border="0" align="center">
  <tr> 
    <td width="73%" valign="top" style="font-size: 26px" align="center"> 
      <b><?=$r[0][1]?></b>
    </td>
  </tr>
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td valign="top" align="center"> 
      <?=$r[0][2]?><br>

	  <?loadImage2($r[0][3],$PIC_DIR . $table . "/")?><br><br>
	  <?loadImage2($r[0][4],$PIC_DIR . $table . "/")?><br><br>
	  <?loadImage2($r[0][5],$PIC_DIR . $table . "/")?><br><br>
	  <?loadImage2($r[0][6],$PIC_DIR . $table . "/")?><br><br>

	  <a href="#"><img src="images/bt_close.gif" border="0" onClick="top.close()"></a>
    </td>
  </tr>
</table>

<div align="center"> 
  <p><br>
    <p></p>
  <p> <br>
  </p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</div>
</body>
</html>
